<?php
require_once 'pages/TMSItemPage.inc';
require_once 'models/TMSACL.inc';


class TMSProfilePage extends TMSItemPage {
	
	public function __set($nm,$value){
		switch ($nm){
			case 'Model':$this->setIocMember($this->_ioc_model_, $value, 'TMSACL');break;
			default:parent::__set($nm,$value);
		}
	}
	
	protected function getItem(){
		return new TMSPageItem($this->Model->WrapObject($this->Model->CurrentUser()),$this);
	}
	
	public function __get($nm){
		switch ($nm){
			case 'Path':return array();break;
			case 'ListUrl':return false;break;
			default:return parent::__get($nm);break;
		}
	}
}